﻿<%@ Page Title="注册成功" Language="C#" MasterPageFile="~/Register.Master" AutoEventWireup="true" CodeBehind="RegisterComplete.aspx.cs" Inherits="HealthCommunity.RegisterComplete" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<script src="Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
	<script src="Scripts/jquery.timers-1.2.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<div id="registercontent">
		<div class="registertitle">
			注册完成
		</div>
		<div class="registercomplatecontent">
			注册成功&nbsp;&nbsp;&nbsp;<label id="lblTime">5</label>秒钟之后自动跳转到<a href="UserInfo.aspx" style="color: #ac5204;">我的资料</a></div>
	</div>
	<div class="clear" style="min-height:480px;">
	</div>
	<script type="text/javascript">
				$('body').everyTime('1s', 'A', function () {
					var exmttime = $('#lblTime').html();

					if (exmttime != null && exmttime != '') {
						var s = parseInt(exmttime);

						if (s > 0) {
							s = s - 1;
							$('#lblTime').html(s.toString());
						}
						else {
							$('body').stopTime('A');
							window.location.href = "UserInfo.aspx";
						}
					}
				});
	</script>
</asp:Content>
